package com.student.model;

        import java.util.Date;

/**
 * 学生实体类
 *
 * @author 康娜的小肥腿
 */
public class Student {

    private Integer empno;
    private String ename;
    private String sno;
    private String sex;
    private Date hiredate;
    private String sal;
    private String phone;
    private String zy;
    // Alt  + Insert key
    public Student() {
    }

    public Student(Integer empno, String ename, String sno,String sex, Date hiredate, String sal, String phone, String zy) {
        this.empno = empno;
        this.ename = ename;
        this.sno = sno;
        this.sex = sex;
        this.hiredate = hiredate;
        this.sal = sal;
        this.phone = phone;
        this.zy = zy;
    }


    public Integer getEmpno() {
        return empno;
    }

    public void setEmpno(Integer empno) {
        this.empno = empno;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getHiredate() {
        return hiredate;
    }

    public void setHiredate(Date hiredate) {
        this.hiredate = hiredate;
    }

    public String getSal() {
        return sal;
    }

    public void setSal(String sal) {
        this.sal = sal;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }


    public String getZy(){ return zy;}

    public void setZy(String zy) { this.zy = zy;}


    @Override
    public String toString() {
        return "Employee{" +
                "empno=" + empno +
                ", ename='" + ename + '\'' +
                ", sno='" + sno + '\'' +
                ", sex=" + sex +
                ", hiredate=" + hiredate +
                ", sal=" + sal +
                ", phone=" + phone +
                ", zy=" + zy +
                '}';
    }
}
